
package app.controller.init
{
    import app.view.mediators.ApplicationMediator;
    
    import org.puremvc.as3.multicore.interfaces.INotification;
    import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
    
  
  



    public class CreateAppMediatorCmd extends SimpleCommand
    {
        
        override public function execute ( note:INotification ) : void
        {
        	var app:ApplicationMediator
        	app = new ApplicationMediator(  note.getBody()  )
  		    facade.registerMediator( app );
  		    note.setBody( app );
        }
    }
}